package com.ywl.exercise.service;

import java.util.List;
import java.util.Map;

import com.ywl.exercise.entity.GameEntity;
import com.ywl.exercise.entity.vo.ImageVoEntity;


public interface GameService {
	//添加游戏
	int saveGame(GameEntity entity);
	//更新游戏分数
	void updateGame(GameEntity entity);
	//根据游戏编号查找游戏
	GameEntity findById(Integer gameid);
	//开始游戏，并显示游戏界面
	Map<Integer, List<ImageVoEntity>> startGame(GameEntity entity);
}
